<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>后台管理</title>
    <link href="/Public/Admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="/Public/Common/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <link href="/Public/Admin/css/base.css" rel="stylesheet">
    <script src="/Public/Common/js/jquery-1.9.1.min.js"></script>

</head>
<body>
<!--主页面-->
<div id="main-content" class="content">
    <?php if(!empty($group)): ?><div class="notification information png_bg">
            <div>
                您属于【<?php echo ($group); ?>】组，可能部分功能没有使用权限！
            </div>
        </div><?php endif; ?>
    <h3 class="page-title">
        <span class="icon glyphicon glyphicon-home"></span>首页
    </h3>

    <div class="content-box">
        <!--表格内容-->
        <div class="content-box-content">
            <div class="main-time">
              欢迎
            </div>

            <div class="clear"></div>
        </div>
    </div>

    <div class="content-box-column">

    </div>

    <div class="clear"></div>

</div>
<script type="text/javascript" src="/Public/Common/Highcharts/highcharts.js"></script>
<script type="text/javascript" src="/Public/Common/Highcharts/exporting.js"></script>
<script type="text/javascript" src="/Public/Common/Highcharts/highcharts-theme.js"></script>
<script type="text/javascript" src="/Public/Common/bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/Public/Common/bootstrap-datetimepicker-master/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
    /** 折线图 **/
    $(function () {
        $('#line-container-1').highcharts({
            chart: {type: 'spline'},
            title: {text: '', x: -20 ,style: {color: '#1B3243',fontWeight: 'bold',fontSize: '25px'}},
            subtitle: { text: "<?php echo ($day_date_flag); ?>" ,x: -20,y:22},
            xAxis: { categories: [<?php echo ($x_date); ?>], labels: { align: 'center', step: <?php echo ($step); ?> }},
            yAxis: {title: {text: '每天的发布量（节/日）'},plotLines: [{value: 0,width: 1,color: '#808080'}]},
            tooltip: {crosshairs: true,shared: true},
            plotOptions: {spline: {marker: { radius: 4,lineColor: '#666666',lineWidth: 1 }}},
            series: [<?php echo ($day_line); ?>]
        });
        $('#line-container').highcharts({
            chart: {type: 'spline'},
            title: {text: '', x: -20 ,style: {color: '#1B3243',fontWeight: 'bold',fontSize: '25px'}},
            subtitle: { text: "<?php echo ($order_day_date_flag); ?>" ,x: -20,y:22},
            xAxis: { categories: [<?php echo ($x_date); ?>], labels: { align: 'center' }},
            yAxis: {title: {text: '每天的发布量（条/日）'},plotLines: [{value: 0,width: 1,color: '#808080'}]},
            tooltip: {crosshairs: true,shared: true},
            plotOptions: {spline: {marker: { radius: 4,lineColor: '#666666',lineWidth: 1 }}},
            series: [<?php echo ($order_day_line); ?>]
        });
    }); /** 折线图 **/
    $(function () {
        $('#line-container-1').highcharts({
            chart: {type: 'spline'},
            title: {text: '', x: -20 ,style: {color: '#1B3243',fontWeight: 'bold',fontSize: '25px'}},
            subtitle: { text: "<?php echo ($day_date_flag); ?>" ,x: -20,y:22},
            xAxis: { categories: [<?php echo ($x_date); ?>], labels: { align: 'center', step: <?php echo ($step); ?> }},
            yAxis: {title: {text: '每天的发布量（节/日）'},plotLines: [{value: 0,width: 1,color: '#808080'}]},
            tooltip: {crosshairs: true,shared: true},
            plotOptions: {spline: {marker: { radius: 4,lineColor: '#666666',lineWidth: 1 }}},
            series: [<?php echo ($day_line); ?>]
        });
        $('#line-container').highcharts({
            chart: {type: 'spline'},
            title: {text: '', x: -20 ,style: {color: '#1B3243',fontWeight: 'bold',fontSize: '25px'}},
            subtitle: { text: "<?php echo ($order_day_date_flag); ?>" ,x: -20,y:22},
            xAxis: { categories: [<?php echo ($x_date); ?>], labels: { align: 'center' }},
            yAxis: {title: {text: '每天的发布量（条/日）'},plotLines: [{value: 0,width: 1,color: '#808080'}]},
            tooltip: {crosshairs: true,shared: true},
            plotOptions: {spline: {marker: { radius: 4,lineColor: '#666666',lineWidth: 1 }}},
            series: [<?php echo ($order_day_line); ?>]
        });
    });
    $('.form_datetime').datetimepicker({
        format: 'yyyy-mm-dd',
        language:"zh-CN",
        minView:2,
        autoclose:true
    });
</script>
<script type="text/javascript" src="/Public/Admin/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/Public/Admin/js/common.js"></script>
</body>
</html>